<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        table{
            /*是table的边框*/
            border-width:2px;
            border-color: orange;
            /*solid：实线*/
            /*dashed：虚线*/
            /*dotted:点线*/
            border-style: solid;
            /*简写 宽度，线，颜色 */
            border: 2px solid red;
        }
        /*列行的样式*/
        th,td{
            border: 1px solid orange;
        }
    </style>
</head>
<body>
<!--
<table border="1" >
border="1"：显示边框包括列
-->
<table >
    <caption>人员信息</caption>
    <thead>
    <th>序号</th>>
    <th>姓名</th>>
    <th>政治面貌</th>
    </thead>
    <tbody>
    <tr>
        <td>1</td>
        <td>张三</td>
        <td>党员</td>
    </tr>
    <tr>
        <td>2</td>
        <td>李四</td>
        <td>群众</td>
    </tr>
    </tbody>
</table>
</body>
</html>